package com.oocl.euc.dao.impl;


import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Repository;

import com.oocl.euc.entity.Merchant;
import com.oocl.euc.pagination.BaseConditionQuery;
@Repository("merchantDao") 
public class MerchantDaoImpl extends CommonRepository<Merchant>{
	public Merchant findByAccount(String account){
		return findOne(new Query(Criteria.where("account").is(account)));
	}
}
